package com.ethink.warehouse.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

/**
 * 仓库入库单 INFO实体
 *
 * @author default
 * @date 2022-12-16
 */
@Data
public class StockInOrderInfo {

    @Schema(description ="主键")
    private Long id;

    @Schema(description ="原单据号")
    private String orderNo;

    @Schema(description ="采购单号")
    private String purchaseOrderNo;

    @Schema(description ="外部入库单号")
    private String outOrderNo;

    @Schema(description ="货主编码")
    private String ownerCode;

    @Schema(description ="枚举 入库类型: 1-生产入库(t1)|2-采购入库(t2)|3-调拨入库(t3)|4-其他入库(t4)|5-B2B入库(t5)|6-领用入库(t6)|7-残次品入库(t7)|8-虚拟入库(t8)")
    private Integer inStockType;

    @Schema(description ="枚举 入库状态: 1-未开始处理(new)|2-仓库接单(accept)|3-部分收货完成(part_in)|4-收货完成(full_in)|5-异常(exception)|6-取消(cancel)|7-关闭(close)|8-拒单(reject)|8-取消失败(cancel_fail)")
    private Integer inStockStatus;

    @Schema(description ="入库时间")
    private Date operateTime;

    @Schema(description ="数据删除标志(0-正常,1-删除)")
    private Integer isDeleted;

    @Schema(description ="数据创建时间戳")
    private Date createTime;

    @Schema(description ="数据更新时间戳")
    private Date updateTime;

    @Schema(description ="创建人")
    private String createUser;

    @Schema(description ="修改人")
    private String updateUser;

    @Schema(description ="备注信息")
    private String remark;


}
